package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.manager.sysman.sysmanRole;

import java.io.Serializable;
import java.util.Date;

import com.MutiModule.common.vo.enums.DeleteFlagEnum;

public class SysmanRole implements Serializable {
    private Long id;

    private DeleteFlagEnum deleteFlag;

    private Date createTime;

    private String name;

    private String description;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public DeleteFlagEnum getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(DeleteFlagEnum deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    
    // add alexgaoyh 重写方法，用于判断两个对象的值是否相等
 	@Override
 	public boolean equals(Object obj) {
 		if (this == obj) {
 			return true;
 		}
 		if (obj == null) {
 			return false;
 		}
 		if (getClass() != obj.getClass()) {
 			return false;
 		}
 		final SysmanRole other = (SysmanRole) obj;
 		if (id.longValue() != other.id.longValue()) {
 			return false;
 		}
 		return true;
 	}
}